package enumdemo;

public class PlayerTest {
	public static void main(String[] args) {
		Player p = new Player();
		p.setName("阿里路亚");
		p.setLevel(10);
		p.setJob(Job.MASTER);
		
		Job job = p.getJob();
		job.setPower(job.getPower() + 10);
		
		System.out.println(p.getJob().getPower());
	}
}
